<?php

namespace Module\CopyAppender\Admin\Controller;

use Illuminate\Routing\Controller;
use ModStart\Admin\Layout\AdminConfigBuilder;

class ConfigController extends Controller
{
    public function setting(AdminConfigBuilder $builder)
    {
        $builder->pageTitle('网页复制追加文字');
        $builder->switch('CopyAppender_Enable', '开启追加文字');
        $builder->textarea('CopyAppender_Text', '需要追加的文字');
        $builder->formClass('wide');
        return $builder->perform();
    }

}
